package com.twoandone.tms.realtime.publisher.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface WaybillMapper {
    @Select("select count(*) from dws_waybill_order_cargo_window where toYYYYMMDD(stt)=#{date};")
    Long  getAllCount(Integer date);
    @Select("select sum(Amount) from dws_waybill_order_cargo_window where toYYYYMMDD(stt)=#{date};")
    Long  getAllAmount (Integer date);
}
